
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Local · MLSQL Engine 文档</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-lightbox/css/lightbox.min.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/image.css">
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="k8s_deploy.html" />
    
    
    <link rel="prev" href="configuration.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    MLSQL Engine产品简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="./">
            
                <a href="./">
            
                    
                    MLSQL Engine基本安装
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="configuration.html">
            
                <a href="configuration.html">
            
                    
                    启动参数详解
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2.2" data-path="deploy.html">
            
                <a href="deploy.html">
            
                    
                    Local
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="k8s_deploy.html">
            
                <a href="k8s_deploy.html">
            
                    
                    K8s部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="yarn_deploy.html">
            
                <a href="yarn_deploy.html">
            
                    
                    Yarn部署
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../security/README.md">
            
                <span>
            
                    
                    MLSQL Engine安全加固
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../security/token_control.html">
            
                <a href="../security/token_control.html">
            
                    
                    接口访问Token设置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../security/custom_control.html">
            
                <a href="../security/custom_control.html">
            
                    
                    自定义接口访问策略
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../auth/">
            
                <a href="../auth/">
            
                    
                    MLSQL Engine数据访问控制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" >
            
                <span>
            
                    
                    解析时表权限
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" >
            
                <span>
            
                    
                    运行时表权限表以及列权限
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" >
            
                <span>
            
                    
                    客户端开发
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" >
            
                <span>
            
                    
                    服务端开发
            
                </span>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../api/README.md">
            
                <span>
            
                    
                    MLSQL Engine Rest接口详解
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../api/run-script.html">
            
                <a href="../api/run-script.html">
            
                    
                    /run/script
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../python/">
            
                <a href="../python/">
            
                    
                    MLSQL Python支持
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../python/env.html">
            
                <a href="../python/env.html">
            
                    
                    环境依赖
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../python/etl.html">
            
                <a href="../python/etl.html">
            
                    
                    数据处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../python/train.html">
            
                <a href="../python/train.html">
            
                    
                    模型训练
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../python/pyjava.html">
            
                <a href="../python/pyjava.html">
            
                    
                    PyJava API简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../python/read_excel.html">
            
                <a href="../python/read_excel.html">
            
                    
                    结合Python读取Excel
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../python/write_excel.html">
            
                <a href="../python/write_excel.html">
            
                    
                    结合Python保存Excel
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../python/resource.html">
            
                <a href="../python/resource.html">
            
                    
                    K8s下的Python资源限制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="../python/datamode.html">
            
                <a href="../python/datamode.html">
            
                    
                    dataMode 详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="../python/py_paralell.html">
            
                <a href="../python/py_paralell.html">
            
                    
                    Python并行度你所需要知道的
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../plugin/">
            
                <a href="../plugin/">
            
                    
                    插件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../plugin/online_install.html">
            
                <a href="../plugin/online_install.html">
            
                    
                    网络安装插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../plugin/offline_install.html">
            
                <a href="../plugin/offline_install.html">
            
                    
                    离线安装插件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >Local</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="local&#x90E8;&#x7F72;">Local&#x90E8;&#x7F72;</h1>
<p>Local&#x90E8;&#x7F72;&#x9002;&#x5408;&#x5F00;&#x53D1;&#x4F7F;&#x7528;&#x3002;&#x5982;&#x679C;&#x4F01;&#x4E1A;&#x670D;&#x52A1;&#x5668;&#x5355;&#x673A;&#x591F;&#x5F3A;&#x52B2;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;Local&#x90E8;&#x7F72;&#xFF0C;&#x6027;&#x80FD;&#x4F1A;&#x597D;&#x4E8E;&#x540C;&#x7B49;&#x914D;&#x7F6E;&#x7684;&#x96C6;&#x7FA4;&#x3002;</p>
<h2 id="&#x5B89;&#x88C5;&#x6761;&#x4EF6;">&#x5B89;&#x88C5;&#x6761;&#x4EF6;</h2>
<ol>
<li>&#x4E0B;&#x8F7D;<a href="https://spark.apache.org/downloads.html" target="_blank">Spark&#x53D1;&#x884C;&#x5305;</a></li>
<li>&#x4E0B;&#x8F7D;<a href="http://download.mlsql.tech/2.0.0/" target="_blank">MLSQL&#x53D1;&#x884C;&#x5305;</a></li>
</ol>
<p>&#x6CE8;&#x610F;:</p>
<ul>
<li><code>mlsql-engine_3.0-x.x.x.tar.gz</code>  &#x5BF9;&#x5E94;Spark 3.0.x</li>
<li><code>mlsql-engine_2.4-x.x.x.tar.gz</code> &#x5BF9;&#x5E94;spark 2.4.x</li>
</ul>
<h2 id="&#x542F;&#x52A8;">&#x542F;&#x52A8;</h2>
<p>&#x5206;&#x522B;&#x89E3;&#x538B;&#x4E24;&#x4E2A;&#x53D1;&#x884C;&#x5305;. &#x89E3;&#x538B;&#x540E;&#x7684;MLSQL Engine&#x5305;&#x5982;&#x4E0B;&#xFF1A;</p>
<p></p><div class="image-wrapper howtouse-deploy"><a href="http://docs.mlsql.tech/upload_images/e6093c4c-bc11-47fc-9b2a-5a08084e5cd6.png" data-lightbox="7e55a0b2-e4da-45cc-8798-6cd71ea0cd8a" data-title="" target="_blank"><img src="http://docs.mlsql.tech/upload_images/e6093c4c-bc11-47fc-9b2a-5a08084e5cd6.png" alt=""></a></div><p></p>
<p>&#x6309;&#x5982;&#x4E0B;&#x65B9;&#x5F0F;&#x542F;&#x52A8;<code>start-default.sh</code> &#x5373;&#x53EF;&#x8FD0;&#x884C;&#xFF1A;</p>
<pre><code>export SPARK_HOME=... &amp;&amp; ./start-default.sh
</code></pre><p>&#x5176;&#x4E2D;SPARK_HOME &#x662F;&#x4F60;Spark&#x7684;&#x89E3;&#x538B;&#x76EE;&#x5F55;&#x3002;&#x5982;&#x679C;&#x6CA1;&#x6709;&#x8BBE;&#x7F6E;&#xFF0C;&#x811A;&#x672C;&#x4F1A;&#x63D0;&#x793A;&#x4F60;&#x9700;&#x8981;&#x8BBE;&#x7F6E;&#x3002;
&#x5982;&#x679C;&#x4E00;&#x5207;&#x6B63;&#x5E38;,&#x4F60;&#x5E94;&#x8BE5;&#x4F1A;&#x770B;&#x5230;&#x5982;&#x4E0B;&#x7684;&#x542F;&#x52A8;&#x4FE1;&#x606F;&#xFF1A;</p>
<p></p><div class="image-wrapper howtouse-deploy"><a href="http://docs.mlsql.tech/upload_images/d6139e4f-de5c-4b7f-8d43-5a28e1a25bb7.png" data-lightbox="81d6ed92-0ba1-4e2d-bbeb-cb277bd6465d" data-title="" target="_blank"><img src="http://docs.mlsql.tech/upload_images/d6139e4f-de5c-4b7f-8d43-5a28e1a25bb7.png" alt=""></a></div><p></p>
<h2 id="&#x989D;&#x5916;&#x914D;&#x7F6E;">&#x989D;&#x5916;&#x914D;&#x7F6E;</h2>
<p>&#x53EF;&#x4EE5;&#x6253;&#x5F00; <code>start-local.sh</code>&#x811A;&#x672C;&#xFF0C;&#x91CC;&#x9762;&#x7684;&#x914D;&#x7F6E;&#x90FD;&#x53EF;&#x4EE5;&#x4FEE;&#x6539;&#xFF1A;</p>
<p></p><div class="image-wrapper howtouse-deploy"><a href="http://docs.mlsql.tech/upload_images/d4942564-b1d4-4771-b6c2-0eab0a9fe134.png" data-lightbox="241da0c3-e23b-4545-95dc-311bdca3802e" data-title="" target="_blank"><img src="http://docs.mlsql.tech/upload_images/d4942564-b1d4-4771-b6c2-0eab0a9fe134.png" alt=""></a></div><p></p>
<p>&#x5177;&#x4F53;&#x53EF;&#x914D;&#x7F6E;&#x53C2;&#x6570;&#x53C2;&#x770B;<a href="http://docs.mlsql.tech/mlsql-engine/howtouse/configuration.html" target="_blank">&#x542F;&#x52A8;&#x53C2;&#x6570;&#x8BE6;&#x89E3;</a></p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="configuration.html" class="navigation navigation-prev " aria-label="Previous page: 启动参数详解">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="k8s_deploy.html" class="navigation navigation-next " aria-label="Next page: K8s部署">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Local","level":"1.2.2","depth":2,"next":{"title":"K8s部署","level":"1.2.3","depth":2,"path":"howtouse/k8s_deploy.md","ref":"howtouse/k8s_deploy.md","articles":[]},"previous":{"title":"启动参数详解","level":"1.2.1","depth":2,"path":"howtouse/configuration.md","ref":"howtouse/configuration.md","articles":[]},"dir":"ltr"},"config":{"plugins":["image-class","lightbox"],"styles":{"website":"styles/image.css"},"pluginsConfig":{"image-class":{},"lightbox":{"jquery":true,"sameUuid":false},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"MLSQL Engine 文档","gitbook":"*","description":"MLSQL Engine 官方文档"},"file":{"path":"howtouse/deploy.md","mtime":"2020-08-26T10:15:54.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-09-03T03:59:44.434Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-lightbox/js/lightbox.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

